package com.zzf.mall.service;

import com.zzf.mall.vo.Cart;
import com.zzf.mall.vo.CartItem;

import java.util.List;
import java.util.concurrent.ExecutionException;

/**
 * @Author 赵振飞
 * @Date 2022/10/26
 * @Version 1.0
 */
public interface ICartService {

    public Cart getCartList();

    CartItem addCart(Long skuId, Integer num) throws ExecutionException, InterruptedException;

    List<CartItem> getUserCartItems();
}
